#pragma once
#include "Person.h"
#include <memory>

class Decorate:
	public Person
{
public:
	Decorate(void);
	~Decorate(void);
	void setComponent(Person* pComponent);
	void setComponent(std::shared_ptr<Person> pComponent);
protected:
	//std::auto_ptr<Person> pcomponent;
	std::shared_ptr<Person> pcomponent;
};

